package com.ruoyi.core.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2020/12/19 16:29
 * @Version 1.0.0
 * @Description <>
 **/
@ApiModel("")
public class VersionVo implements Serializable {

    @ApiModelProperty("版本号")
    @NotNull(message = "输入版本号")
    private String version;

    @ApiModelProperty("下载地址")
    @NotNull(message = "输入下载地址")
    private String downloadUrl;

    @ApiModelProperty("内容")
    @NotNull(message = "输入更新内容")
    private String remake;

    @ApiModelProperty("是否强制更新")
    private Integer force;

    @ApiModelProperty("mac下载地址")
    private String macDownloadUrl;

    @ApiModelProperty("插件的更新内容")
    private String pluginRemark;

    @ApiModelProperty("插件的下载地址")
    private String pluginDownloadUrl;

    @ApiModelProperty("id")
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMacDownloadUrl() {
        return macDownloadUrl;
    }

    public void setMacDownloadUrl(String macDownloadUrl) {
        this.macDownloadUrl = macDownloadUrl;
    }

    public Integer getForce() {
        return force;
    }

    public void setForce(Integer force) {
        this.force = force;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getRemake() {
        return remake;
    }

    public void setRemake(String remake) {
        this.remake = remake;
    }

    public String getPluginRemark() {
        return pluginRemark;
    }

    public void setPluginRemark(String pluginRemark) {
        this.pluginRemark = pluginRemark;
    }

    public String getPluginDownloadUrl() {
        return pluginDownloadUrl;
    }

    public void setPluginDownloadUrl(String pluginDownloadUrl) {
        this.pluginDownloadUrl = pluginDownloadUrl;
    }
}
